import React,{lazy} from 'react'
const Home = lazy(()=>import('../pages/Home/Index'))
const Detail = lazy(()=>import('../pages/Detail/Index'))
export const router=[
    {
        path:'/',
        element:<Home/>
    },
    {
        path:'/detai',
        element:<Detail/>
    }
]